package org.example.blogserver.dao;

import org.example.blogserver.entity.Comment;
import org.example.blogserver.vo.CommentVo;
import org.springframework.jdbc.core.JdbcTemplate;

import java.util.List;

public interface CommentDao {

    int addComment(Comment comment);
    int deleteCommentById(Long id);

    Comment findCommentById(Long id);
    List<Comment> findCommentsByArticleId(Long articleId);
    List<Comment> findCommentsByParentId(Long parentId);


}